package com.baicaoyuan.web.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

@Data
@ApiModel(value = "com.baicaoyuan.web.request.JzzUserInfoResponse", description = "个人金种子账户信息")
public class JzzUserInfoResponse {

    @ApiModelProperty(value = "id")
    private Long id;
    private Long userId;
    @ApiModelProperty(value = "用户名")
    private String userName;
    @ApiModelProperty(value = "用户名")
    private String phone;
    @ApiModelProperty(value = "当前拥有的金种子数量")
    private BigDecimal jzzNumber;

    @ApiModelProperty(value = "挖出的金种子数")
    private BigDecimal jzzNumberDig;

    @ApiModelProperty(value = "提现的金种子数")
    private BigDecimal jzzNumberCash;

    @ApiModelProperty(value = "创建时间")
    private Timestamp createTime;

    private String status;

    @ApiModelProperty(value = "绑定设备序列号")
    private Map<String, String> sno;

    @ApiModelProperty(value = "挖矿明细")
    private List<JzzUserProfitFlowResponse> flows;
    @ApiModelProperty(value = "是否是团长")
    private boolean isTeamLeader;

}
